<admintpl file="headerEx" />
<title>访问日志列表</title>
<!--responsive table-->
<link href="__PUBLIC__/TciocEx/css/table-responsive.css" rel="stylesheet" />
</head>

<!-- Placed js at the end of the document so the pages load faster -->
<body class="sticky-header">
<section>
    <!-- main content start-->
    <div class="full-content" >
        <!--body wrapper start-->
        <div class="wrapper">
            <div class="row">
                <div class="col-sm-12">
                    <section class="panel">
                        <header class="panel-heading custom-tab turquoise-tab">
                            <ul class="nav nav-tabs">
                                <li  <if condition="$model eq 'admin'"> class="active" </if> >
                                    <a  href="{:leuu('Admin/Logs/index',array('model'=>'admin'))}">
                                        <i class="fa fa-list-ul"></i> 后台日志
                                    </a>
                                </li>
                                <li <if condition="$model eq 'home'"> class="active" </if>>
                                    <a  href="{:leuu('Admin/Logs/index',array('model'=>'home'))}">
                                        <i class="fa fa-list-alt"></i> 前台日志
                                    </a>
                                </li>
                                <li <if condition="$model eq 'member'"> class="active" </if>>
                                    <a  href="{:leuu('Admin/Logs/index',array('model'=>'member'))}">
                                        <i class="fa fa-user"></i> 会员日志
                                    </a>
                                </li>
                                <if condition="$sms_status">
                                    <li <if condition="$model eq 'sms'"> class="active" </if>>
                                    <a  href="{:leuu('Admin/Logs/index',array('model'=>'sms'))}">
                                        <i class="fa fa-comments-o"></i> 短信发送记录
                                    </a>
                                    </li>
                                </if>
                            </ul>
                        </header>
                        <div class="panel-body">
                            <section class="panel">
                                <div class="panel-body">
                                    <form class="form-horizontal" role="form" method="post" action="{:leuu('Admin/Logs/index',array('model'=>$model))}">
                                        <div class="col-lg-8">
                                            <div class="input-group m-bot15">
                                                <input type="search" class="form-control" name="s" value="{$s}" placeholder="输入内容，按Enter键搜索：请求URL/用户名/操作描述/客户端IP/访问浏览器...">
                                              <span class="input-group-btn">
                                                <button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
                                              </span>
                                            </div>
                                        </div>
                                    </form>

                                </div>
                            </section>
                            <section id="no-more-tables">
                                <table class="table table-bordered table-striped table-hover table-condensed cf">
                                    <thead class="cf">
                                    <tr>
                                        <th>ID</th>
                                        <th class="numeric">请求的url</th>
                                        <th class="numeric">用户名</th>
                                        <th class="numeric">操作描述</th>
                                        <th class="numeric">客户端IP</th>
                                        <!--<th class="numeric">访问浏览器</th>-->
                                        <th class="numeric">访问时间</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <volist name="lists" id="vo" empty="没有找到符合条件的数据！">
                                        <tr>
                                            <td data-title="ID">{$vo.logid}</td>
                                            <td class="numeric" data-title="请求的url">{$vo.querystring|default="Null"}</td>
                                            <td class="numeric" data-title="用户名">{$vo.username|default="Null"}</td>
                                            <td class="numeric" data-title="操作描述">{$vo.desc|default="Null"}</td>
                                            <td class="numeric" data-title="客户端IP">{$vo.ip|default="Null"}</td>
                                            <!--<td class="numeric" data-title="访问浏览器">{$vo.agent|default="Null"}</td>-->
                                            <td class="numeric" data-title="访问时间">{$vo.time|default="Null"}</td>
                                        </tr>
                                    </volist>
                                    </tbody>
                                </table>
                            </section>
                            <div class="col-md-12 text-center clearfix">
                                {$page}
                            </div>
                        </div>
                    </section>
                </div>
            </div>
        </div>

    </div>
    </div>
    </div>
    <!--body wrapper end-->

    <!--footer section start-->
    <footer>
        <admintpl file="copyright" />
    </footer>
    <!--footer section end-->

    </div>
    <!-- main content end-->
</section>

<script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-migrate-1.2.1.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/modernizr.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery.nicescroll.js"></script>

<!--common scripts for all pages-->
<script src="__PUBLIC__/TciocEx/js/scripts.js"></script>

</body>
</html>